package com.xinzhidi.web.balancedview.mapper;

import com.xinzhidi.web.balancedview.domain.po.BalanceLineChartPo;
import com.xinzhidi.web.balancedview.domain.po.BalancedViewPo;
import com.xinzhidi.web.balancedview.domain.vo.BalanceLineChartVo;
import com.xinzhidi.web.balancedview.domain.vo.BalancedBuildVo;
import com.xinzhidi.web.balancedview.domain.vo.BuildViewVo;

import java.util.List;

/**
 * @author cx
 */
public interface BalancedViewMapper {

    BuildViewVo getPlotVo(BalancedViewPo viewPo);

    List<BalancedBuildVo> getBuildList(BalancedViewPo viewPo);


    /**
     * 获取当前住户的当天热量表（某个指标）数据
     *
     * @param chartPo
     * @return
     */
    List<BalanceLineChartVo> currentLineChart(BalanceLineChartPo chartPo);

    /**
     * 获取当前住户的最近七天热量表（某个指标）数据
     *
     * @param chartPo
     * @return
     */
    List<BalanceLineChartVo> lastSevenDayLineChart(BalanceLineChartPo chartPo);

    /**
     * 获取当前住户的最近半年/1年热量表（某个指标）数据
     *
     * @param chartPo
     * @return
     */
    List<BalanceLineChartVo> lastMonthLineChart(BalanceLineChartPo chartPo);
}
